package game.zqll.systems;

import com.artemis.BaseSystem;
import com.badlogic.gdx.graphics.Camera;
import com.badlogic.gdx.utils.viewport.FitViewport;
import com.badlogic.gdx.utils.viewport.Viewport;
import game.zqll.ModSampleApplication;

public class CameraSystem extends BaseSystem {

    private final Camera camera;
    private final Viewport viewport;

    public CameraSystem(Camera camera) {
        this.camera = camera;
        this.viewport = new FitViewport(ModSampleApplication.worldWidth, ModSampleApplication.worldHeight, camera);
    }

    public Camera getCamera() {
        return camera;
    }

    public Viewport getViewport() {
        return viewport;
    }

    @Override
    protected void processSystem() {

    }
}
